i = int(input("输入一个数"))
print("斐波那契数列第", i, "项是:")
a = 0
b = 1
for j in range(1,i+1):
    a, b = b, a + b
print(a, end=" ")